/** 
 * 绘制坐标点
 */
class DrawPath extends egret.DisplayObjectContainer {

    public constructor() {
        super();
        this.once(egret.Event.ADDED_TO_STAGE, this.init, this);
    }

    private init() {
        this.stage.addEventListener(egret.TouchEvent.TOUCH_TAP, this.drawPath, this);
    }

    private drawPath(evt: egret.TouchEvent) {

        // const comput = new egret.Point();
        // /** 负负得正 哈哈哈 */
        // comput.x = evt.stageX - MapItem.mapNowPoint.x;
        // comput.y = evt.stageY - MapItem.mapNowPoint.y;

        // console.log(comput)

        // const conterx = 0 // this.stage.stageWidth /2;

        // console.log("鼠标点击相对于屏幕中心", `x:${evt.stageX -conterx}, y: ${evt.stageY}`);


    }


}